package com.example.main;

import org.apache.commons.lang3.time.StopWatch;

import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import java.util.concurrent.TimeUnit;

public class Main12 {
    public static void main(String[] args) throws InterruptedException {
        String yyyyMMdd_hHmmss = LocalTime.now().format(DateTimeFormatter.ofPattern("HHmmss"));
        int i=0x1b;
        char ch=(char)i;
        String a="\u001B";
        char c = a.charAt(0);
        System.out.println(c);
        StopWatch watch=new StopWatch();
        watch.start();
        TimeUnit.SECONDS.sleep(1);
        watch.split();
        TimeUnit.SECONDS.sleep(3);
        System.out.println(watch.getTime()+"======"+watch.getSplitTime());
        watch.stop();
    }
}
